<div class="row-fluid">
    <div class="span12">
    <div class="span6">
    
						<div class="alert alert-block alert-error fade in">
							<a href="#" data-dismiss="alert" class="close">x</a>
							<h4 class="alert-heading">
								Registrar Parcial
							</h4>
							<ul>
								<li>
									Registro de un Parcial por Tipo.
								</li>
							</ul>
							<p>
								<a href="<?php echo $this->Html->url(array('action'=>'insertar')) ?>" class="btn btn-inverse"><i class="splashy-check"></i> Registrar Curso</a>
							</p>
						</div>
    </div>
        <div class="span10">
        <h3 class="heading">Parciales <?php echo $parciales; ?></h3> 
        <table class="table table-striped table-bordered dTableR" id="dt_a">
            <thead>
                <tr>                                          
                    <th>Nro</th>
                    <th>Nombre</th>
                    <th>Orden</th>
                    <th>Tipos Parciales</th>  
                    <th>Acciones</th>     
                </tr>
            </thead>
             <?php $i=1;?>
            <tbody>
                <?php foreach ($parciales as $parc): ?>
                    <?php $idParci = $parc['Parciale']['id']; ?>
                    <tr>
                        <td><?php echo $i; $i++;?></td>                                                  
                        <td><?php echo $parc['Parciale']['nombre']; ?></td>
                        <td><?php echo $parc['Parciale']['orden']; ?></td>
                        <td><?php echo $parc['Tiposparciale']['nombre']; ?></td>
                        <td>
                           <?php 
                                echo $this->Html->image("iconos/edit.png", array(
                                    "title" => "Editar",
                                    'url' => array('action' => 'editar', $parc['Parciale']['id'])
                                ));
                            ?>                             
                             <?php 
                                echo $this->Html->image("iconos/elim.png", array(
                                    "title" => "Eliminar",
                                    'url' => array('action' => 'eliminar', $parc['Parciale']['id'])
                                ));
                            ?>
                        </td>
                    </tr>
                    <?php
                endforeach;
                ?>
            </tbody>
        </table>                
    </div>   
</div>
<!-- sidebar -->
<?php echo $this->element('sidebar/parciales'); ?>
<!-- fin sidebar -->
<?php echo $this->element('jstablas'); ?>